package com.easylinkin.linkappapi.bim.service;

import cn.hutool.core.lang.tree.Tree;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.core.models.Operator;
import com.easylinkin.linkappapi.bim.bo.TaskNode;
import com.easylinkin.linkappapi.bim.dto.BindingPlanDto;
import com.easylinkin.linkappapi.bim.entity.BimProjectImportRecord;
import com.easylinkin.linkappapi.bim.entity.BimTask;
import com.easylinkin.linkappapi.bim.vo.BimTaskVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * bim项目任务（计划）表(BimTask)表服务接口
 *
 * @author pwqoc
 * @since 2024-05-24 15:02:33
 */
public interface BimTaskService extends IService<BimTask> {


    void importProject(MultipartFile file, BimProjectImportRecord projectImportRecord);

    List<TaskNode> tree(String importRecordId, String taskName, String tenantId);

    void bindingPlan(BindingPlanDto dto, String tenantId);

    String getBimfaceViewToken(Operator operator);

    List<BimTaskVo> bindingRelationship(String importRecordId, String tenantId);
}

